package com.bestow.basic.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.bestow.common.annotation.Excel;
import com.bestow.common.core.domain.BaseEntity;

/**
 * 附件信息对象 fnd_atm_attachment
 * 
 * @author liliu
 * @date 2022-09-22
 */
public class FndAtmAttachment extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long attachmentId;

    /** 附件来源 */
    @Excel(name = "附件来源")
    private String sourceTypeCode;

    /** 附件来源pk */
    @Excel(name = "附件来源pk")
    private String sourcePkValue;

    /** 文本 */
    @Excel(name = "文本")
    private String content;

    /** 文件后缀 */
    @Excel(name = "文件后缀")
    private String fileTypeCode;

    /** 附件类型 */
    @Excel(name = "附件类型")
    private String mimeType;

    /** 附件名称 */
    @Excel(name = "附件名称")
    private String fileName;

    /** 附件大小 */
    @Excel(name = "附件大小")
    private Long fileSize;

    /** 附件路径 */
    @Excel(name = "附件路径")
    private String filePath;

    public void setAttachmentId(Long attachmentId) 
    {
        this.attachmentId = attachmentId;
    }

    public Long getAttachmentId() 
    {
        return attachmentId;
    }
    public void setSourceTypeCode(String sourceTypeCode) 
    {
        this.sourceTypeCode = sourceTypeCode;
    }

    public String getSourceTypeCode() 
    {
        return sourceTypeCode;
    }
    public void setSourcePkValue(String sourcePkValue) 
    {
        this.sourcePkValue = sourcePkValue;
    }

    public String getSourcePkValue() 
    {
        return sourcePkValue;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setFileTypeCode(String fileTypeCode) 
    {
        this.fileTypeCode = fileTypeCode;
    }

    public String getFileTypeCode() 
    {
        return fileTypeCode;
    }
    public void setMimeType(String mimeType) 
    {
        this.mimeType = mimeType;
    }

    public String getMimeType() 
    {
        return mimeType;
    }
    public void setFileName(String fileName) 
    {
        this.fileName = fileName;
    }

    public String getFileName() 
    {
        return fileName;
    }
    public void setFileSize(Long fileSize) 
    {
        this.fileSize = fileSize;
    }

    public Long getFileSize() 
    {
        return fileSize;
    }
    public void setFilePath(String filePath) 
    {
        this.filePath = filePath;
    }

    public String getFilePath() 
    {
        return filePath;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("attachmentId", getAttachmentId())
            .append("sourceTypeCode", getSourceTypeCode())
            .append("sourcePkValue", getSourcePkValue())
            .append("content", getContent())
            .append("fileTypeCode", getFileTypeCode())
            .append("mimeType", getMimeType())
            .append("fileName", getFileName())
            .append("fileSize", getFileSize())
            .append("filePath", getFilePath())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
